[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
SPACE(IEXP) (STRING)
Function
Create a string with a specified number of spaces.
Syntax
SPACE(len)
len = An integer expression with the number of spaces for the new string.
Return Type & Value
STRING
Returns a string of len spaces.
Remarks
This function is useful when formatting screen displays without ANSI
and when writing formatted information out to a file. It will create a
string of the length specified with nothing but spaces. The returned
string may have anywhere from 0 to 256 spaces.
Examples
PRINT RANDOM(9),SPACE(5),RANDOM(9),SPACE(5),RANDOM(9)
FCREATE 1,"NEWFILE.DAT",O_WR,S_DB
FPUTLN 1,"NAME",SPACE(24),"CITY",SPACE(23),"PHONE"
FCLOSE 1
See Also:
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson